import http from '@/design/libs/request/request'
const BASE_URL = '/holiday'

export default {
  // 保存数据
  save: data => http.post(BASE_URL + '/save', data),
  // 获取列表数据
  list: data => http.post(BASE_URL + '/list', data),
  // 获取数据
  fetch: (id) => http.post(BASE_URL + '/fetch/' + id),
  // 更新数据
  update: data => http.post(BASE_URL + '/update', data),
  // 更新状态
  disable: data => http.post(BASE_URL + '/disable', data),
  // 排序数据
  sort: data => http.post(BASE_URL + '/sort', data),
  // 同步数据
  synchro: data => http.post(BASE_URL + '/synchro', data),
  // 季度滞纳金数据
  qhlist: data => http.post(BASE_URL + '/qhlist', data),
  // 保存季度滞纳金数据
  saveQuarterHoliday: data => http.post(BASE_URL + '/saveQuarterHoliday', data),
  // 查新合同下的扣款
  querydedeuctlist: data => http.post(BASE_URL + '/querydedeuctlist', data),
  // 根据uuid删除季度滞纳金明细
  deleteqh: (uuid) => http.post(BASE_URL + '/deleteqh/' + uuid)
}
